package org.example.service;

import org.example.dao.ObjDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ObjService {

    @Autowired
    private ObjDao objDao;

    public void HelloObjService(){
        objDao.HelloUserDao();
        System.out.println("hell objService");
    }

    public boolean login(String uname,String pwd){

        return objDao.login(uname, pwd);
    }
}
